package org.rency.common.trigger.schedule.repository;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class DaemonTaskTriggerDO {

	private Integer triggerId;
	
	private String beanName;
	
	private String description;
	
	private String cronExpression;
	
	private Date previousFire;
	
	private Date nextFire;
	
	private String status;
	
	private String concurrentTag;
	
	private String machineIp;
	
	private String machineHost;
	
	private Date updateTime;
	
	private Date createTime;
	
	private String memo;

	public Integer getTriggerId() {
		return triggerId;
	}

	public void setTriggerId(Integer triggerId) {
		this.triggerId = triggerId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public Date getPreviousFire() {
		return previousFire;
	}

	public void setPreviousFire(Date previousFire) {
		this.previousFire = previousFire;
	}

	public Date getNextFire() {
		return nextFire;
	}

	public void setNextFire(Date nextFire) {
		this.nextFire = nextFire;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getConcurrentTag() {
		return concurrentTag;
	}

	public void setConcurrentTag(String concurrentTag) {
		this.concurrentTag = concurrentTag;
	}

	public String getMachineIp() {
		return machineIp;
	}

	public void setMachineIp(String machineIp) {
		this.machineIp = machineIp;
	}

	public String getMachineHost() {
		return machineHost;
	}

	public void setMachineHost(String machineHost) {
		this.machineHost = machineHost;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
	
	@Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
	
}